<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .box {
      border: 1px solid black;
    }
    .box img {
      height: 100px;
      /* 去除空白缝隙 */
      vertical-align: middle;
      /* display: block; */
    }
  </style>
  <body>
    <div class="box">
      <img src="images/ldh.jpg" alt="" />
      ldh 是刘德华
    </div>
  </body>
</html>
